using System;
using UnityEngine;

public class IntroButton : MonoBehaviour
{
	protected Action onClick;

	public void Init(Action onClick)
	{
		this.onClick = onClick;
	}

	public void OnClick()
	{
		if (onClick != null)
		{
			onClick();
		}
	}
}
